/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package elaborate.vwbe.resource_fetcher;

import java.io.IOException;
import java.net.URL;
import org.w3c.dom.Document;

/**
 *
 * @author lendle
 */
public interface ResourceFetcher {
    public Document fetchDOMResource(URL url, String charset) throws IOException;
    public String fetchStringResource(URL url, String charset) throws IOException;
    public void setResourceFetcherCallback(ResourceFetcherCallback callback);
}
